/*
 * Copyright (C) 2018 Donlon.
 *
 * 2018秋季C语言练习题（3）
 * http://10.105.242.83/contest/460/
 *
 * D. 简单计算器
 */

#define _CRT_SECURE_NO_WARNINGS

#include <stdio.h>

int main() {
  int l, r;
  char operation;
  int result;

  scanf("%d %c %d", &l, &operation, &r);

  switch (operation) {
  case '+':
    result = l + r;
    break;
  case '-':
    result = l - r;
    break;
  case '*':
    result = l * r;
    break;
  case '/':
    result = l / r;
    break;
  case '%':
    result = l % r;
    break;
  }

  printf("%d", result);
}
